﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using ProjectDeal.Models;

namespace ProjectDeal.Controllers
{
    public class HeaderController : Controller
    {
        //
        // GET: /Header/
        db_Kayleehouse db = new db_Kayleehouse();
        public ActionResult Header()
        {
            var LoaiDealList = (from b in db.LoaiDeals
                                where b.MaLoaiDealCha == 0
                                select b).ToList();
            return View(LoaiDealList);
        }

    }
}
